import java.util.ArrayList;


public class ClassModel {
	String className;
	String classAbrev;
	ArrayList<ClassSectionModel> sections;
	String preReq;
	
	public ClassModel(String name, String classAbrev, String preReq, ArrayList<String> section,
			ArrayList<String> teacher,ArrayList<String> location ){
		sections = new ArrayList<ClassSectionModel>();
		
		className = name;
		this.classAbrev= classAbrev;
		this.preReq = preReq;

	}
	public void addSection(String section,String teacher,String location){
		ClassSectionModel  csm = new ClassSectionModel(section,teacher,location);
		sections.add(csm);
	}

	
}
